﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.XtraLayout;
using Marmat.Foundation;

namespace 测试项目
{
    /// <summary>
    /// 登录的实现类
    /// </summary>
    class Login : Marmat.Foundation.ILogin
    {

        /// <summary>
        /// 执行登录过程，该过程不出错即代表登录成功。
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="password"></param>
        Task<string> Marmat.Foundation.ILogin.Login(string userName, string password)
        {
            return Task.FromResult(userName);
        }
    }
}
